@mixin text-ellipsis($line: 1) {
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-line-clamp: $line;
  -webkit-box-orient: vertical;
}

@mixin position($val: fixed) {
  position: $val;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
}